package com.cn.dream_order_server.controller;


import com.cn.dream_order_server.service.EsServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class EsServcerController {

    @Autowired
    private EsServer esServer;


    @RequestMapping("/wlcTestEs")
    public Object wlcTestEs(){
        esServer.savaEs();
        return "OK";
    }



}
